package com.richper.myrule;

import com.netflix.loadbalancer.BestAvailableRule;
import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RandomRule;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MySelfRule {

//    @Bean
//    public IRule randomRule(){
//        return new RandomRule();
//    }

//    @Bean
//    public IRule BestAvailableRule(){
//        return new BestAvailableRule();
//    }
}
